<?php 


// date_default_timezone_set("PRC");
// 
// 

$arr = getdate();

echo $arr['wday'];

function ab($data=null){
	var_dump($data);
	x();
	return true;
	
}




$data= 90;

$res = ab($data);

var_dump($res);



function x()
{
	echo 999;
}

echo date('Y-m-d H:i:s',34543);



include '../function.php';

echo "<br>";

// echo Ctime(1491332400);
// 
echo F(56456567345);

echo "<br>";

// $a = [34,45,3,2356,34];
// // $a = array(345,456,45,6456);
// echo $a[3];
// // 
// $a = ['name'=>'xuebingsi','sex'=>'男'];

// echo $a['sex'];


$arr = [3,5,34,23445,345,2];


function Px($newArr)
{
	for ($i=0; $i <count($newArr) ; $i++) { 
		for ($j=0; $j <count($newArr)-1 ; $j++) { 
			if($newArr[$j]>$newArr[$j+1]){
				$temp = $newArr[$j];
				$newArr[$j]=$newArr[$j+1];
				$newArr[$j+1]=$temp;
			}
		}
	}
	return $newArr;
}

// var_dump(Px($arr));


$input_array = array(
	"FirSt" => 1, 
	"SecOnd" => 4,
	'sdf'=>array(
		'name'=>'xuebingsi',
		'son'=>array(
			'age'=>90,
			'sex'=>'男',
			'sonson'=>array(
				'sdf'=>90,
				'xxx'=>80
				)
			)
		)
	);
// var_dump(array_change_key_case($input_array, CASE_UPPER));

function Ck($newArr)
{
	$newArr = array_change_key_case($newArr, CASE_UPPER);

	foreach ($newArr as $k => $v) {
		if(is_array($v)){
			$newArr[$k] = Ck($v);
		}
	}

	return $newArr;
}

var_dump(Ck($input_array));















 ?>